﻿using Service.src.NW.Model.Folw;

namespace Service.src.NW.Model
{
    public class NodeInputPlcWriteParam: NodeDataSource
    {

        /// <summary>
        /// 是否是从地址库中选的地址
        /// </summary>
        public bool IsAddressHub { get; set; }

        /// <summary>
        ///   
        /// 
        /// IsAddressHub = true 那么这个PLC的偏移量是数据库维护的id对应的PLC的偏移量
        /// 
        /// </summary>
        public int AddressId { get; set; }

        /// <summary>
        /// IsAddressHub = false ;PLC的偏移量
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 内容，存放，用在给设备写入值使用，如给plc的写入内容
        /// </summary>
        public dynamic Content { get; set; }

    }
}
